﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Unis.ORM.Common
{
    public interface IDataRelationContainer<TBaseModel>
    {
        // Methods
        void AddItem(DataRelationValue<TBaseModel> val);
        TDetail[] GetChilds<T, TDetail>(T parent)
            where T : TBaseModel
            where TDetail : TBaseModel;
    }
}
